package com.ww.yaodao.config;

import com.ww.yaodao.convert.PayConvert;
import org.mapstruct.factory.Mappers;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author wanziyan
 * @Date 2023-04-15:39
 */
@Configuration
public class MapStructConfig {
    @Bean
    public PayConvert payConvert() {
        return Mappers.getMapper(PayConvert.class);
    }
}
